package cn.csust.net2.manager.shared.po;

import java.io.Serializable;

import cn.csust.net2.manager.shared.vo.UserProperty;
import cn.csust.net2.manager.shared.xml.XmlInfo;
import cn.csust.net2.manager.shared.xml.XmlResources;

import com.extjs.gxt.ui.client.data.BeanModelTag;

public class Family extends PO implements Serializable,BeanModelTag, UserProperty {
	
	private Integer familyID;
	private String appellation;
	private String name;
	private String workUnit;
	private String position;
	private String address;
	private String telephone;
	private String remark;
	
	private User user;
	
	
	public Integer getFamilyID() {
		return familyID;
	}

	public void setFamilyID(Integer familyID) {
		this.familyID = familyID;
	}

	public String getAppellation() {
		return appellation;
	}

	public void setAppellation(String appellation) {
		this.appellation = appellation;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getWorkUnit() {
		return workUnit;
	}

	public void setWorkUnit(String workUnit) {
		this.workUnit = workUnit;
	}

	public String getPosition() {
		return position;
	}

	public void setPosition(String position) {
		this.position = position;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public String getTelephone() {
		return telephone;
	}

	public void setTelephone(String telephone) {
		this.telephone = telephone;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public User getUser() {
		return user;
	}

	public void setUser(User user) {
		this.user = user;
	}

	public Family() {
		
	}
	
	/**
	 * 
	 */
	private static final long serialVersionUID = 23279823349287446L;

	@Override
	public XmlInfo getXmlInfo(XmlResources instance) {
		// TODO Auto-generated method stub
		XmlInfo xmlInfo = new XmlInfo();
		xmlInfo.setTextResource(instance.family());
		return xmlInfo;
	}

	@Override
	public String getDisplayName() {
		// TODO Auto-generated method stub
		return null;
	}

}
